package com.feidee.bigdata.bloomfilterserv.constant;

import org.springframework.stereotype.Component;

@Component
public class Constant {

	public static String ENV = "live";
	public static String FALCON_START_NAME = "BloomFilterService";
	public static int BF_EXCEPTED_INSERTIONS = 25000000;
	public static double BF_FPP = 0.001f;
	public static String UUID_IP_PREFIX = "";
	public static final String MSG_FLAG = "消息中心";
	public static final String SMS_FLAG = "短信平台";
	public static final String EMAIL_FLAG = "邮件中心";

	//控制日志打印
	public static long LOG_PRINT_CNT = 0;
	public static long LOG_PRINT_FREQUENCY = 10;

	//布隆结构恢复配置
	public static String RESTORE_BL_SWITCH = "0"; //是否恢复布隆过滤器
	public static int BL_HASH_NO = 0;  //恢复布隆过滤器hash编号
	public static int BL_SERVER_NUM = 1;  //布隆过滤服务器总数

}
